package ooday02;

public class Student extends Person {
    String claassName;
    String stuId;
    void study(){
        System.out.println(name+"在学习......");
    }
    Student(String name,int age,String address,String claassName,String stuId){

        super(name,age,address);
        this.claassName=claassName;
        this.stuId=stuId;



    }
    void sayHi(){
        System.out.println("大家好，我叫"+name+"今年"+age+"岁了，我家住在："+address+
                "班级为:" +claassName+",学号为："+stuId);
    }
}
